package cn.yyh.serviceProduct.mapper;

import cn.yyh.commons.mapper.MyBaseMapper;
import cn.yyh.serviceProduct.domain.Product;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * @author 杨永航
 * @version 1.0
 * @Title: Product
 * @Package: cn.yyh.serviceProduct.mapper
 * @date 2021/7/12
 */
@Repository
public interface ProductMapper extends MyBaseMapper<Product> {
    void onSale(Map<String, Object> map);

    void offSale(Map<String, Object> map);
}
